// 引入axios | 路径配置
import { AJAX_PATH } from "@/services/config.js";

// 导入 封装的 有权限请求
import { HTTP_LIMITED } from "@/utils/axios.js";

class CunHuoFenLeiHttp extends HTTP_LIMITED {


    GetSaveCargoClassification() {//存货分类-存货分类树
        return this._get(AJAX_PATH.GetSaveCargoClassification);
    }
    // 存货分类-保存
    SaveCargoClassification(data) {
        return this._post(AJAX_PATH.SaveCargoClassification, data);
    }
    UpdateCargoClassification(data) {//存货分类-修改
        return this._post(AJAX_PATH.UpdateCargoClassification, data);
    }
  
    DeleteCargoClassification(data) {//存货分类-通过id删除
        return this._get(AJAX_PATH.DeleteCargoClassification + data);
    }



}

export { CunHuoFenLeiHttp };
